package builder.demo2;

public class Test {
    public static void main(String[] args) {

        // 通过构建者对象获取手机对象
        Computer.Builder builder = new Computer.Builder();
        Computer build = builder.cpu("英特尔").disk("台积电").power("华为电源").graphics("nvidai").build();
        System.out.println(build);
    }
}
